#ifndef SINGLETON_H
#define SINGLETON_H

template <class T> 
class Singleton
{
public:
    static T& instance() { static T singleton; return singleton; }
};

#endif // SINGLETON_H
